# -*- coding: utf-8 -*-

from core.serializers import CustomModelSerializer
from rest_framework import serializers, status
from apps.sys.models import WhiteList


class WhiteListSerializer(CustomModelSerializer):
    """
    接口白名单-序列化器
    """

    class Meta:
        model = WhiteList
        fields = "__all__"
        read_only_fields = ["id"]
